package com.hzy.pms.domain.vo;

import java.math.BigDecimal;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * sku信息视图对象 pms_sku
 *
 * @author zengxin
 * @date 2023-10-17
 */
@Data
@ExcelIgnoreUnannotated
public class SkuVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @ExcelProperty(value = "ID")
    private Long id;

    /**
     * sku_snapshot_id
     */
    @ExcelProperty(value = "sku_snapshot_id")
    private Long skuSnapshotId;

    /**
     * 产品
     */
    @ExcelProperty(value = "产品")
    private Long productId;

    /**
     * sku编码
     */
    @ExcelProperty(value = "sku编码")
    private String outSkuId;

    /**
     * 价格
     */
    @ExcelProperty(value = "价格")
    private BigDecimal price;

    /**
     * 展示图片
     */
    @ExcelProperty(value = "展示图片")
    private String pic;

    /**
     * 库存
     */
    @ExcelProperty(value = "库存")
    private Integer stock;

    /**
     * 商品销售属性，json格式
     */
    @ExcelProperty(value = "商品销售属性，json格式")
    private String spData;

    private Long skuId;
    private String productName;
    private Integer quantity;
}
